package com.magic.zhixin.repository;

import com.magic.zhixin.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserInfoRepository extends JpaRepository<UserInfo,Long>{

    UserInfo findByIdIs(Long id);
    UserInfo findByOpenId(String openId);
}
